package com.example.busshop.dao;

import com.example.busshop.common.dao.LogicDAO;
import com.example.busshop.entity.Item;
import org.springframework.data.jpa.repository.Query;

import java.util.Set;

public interface ItemDao extends LogicDAO<Item,Long> {
    @Query(value = "select * from item",nativeQuery = true)
    public Set<Item> allItem();

}
